<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		request.setCharacterEncoding("utf-8");
		String userno = request.getParameter("userno");
		String userpwd = request.getParameter("userpwd");
		String userpwdagain = request.getParameter("userpwdagain");

		String username = request.getParameter("username");
		String usersex = request.getParameter("usersex");
		String userage = request.getParameter("userage");
		String useraddress = request.getParameter("useraddress");
		String userprofession = request.getParameter("userprofession");
		String useremail = request.getParameter("useremail");
		String userphoto = request.getParameter("userphoto");
		String usersummary = request.getParameter("usersummary");
		
		String []userinterest = request.getParameterValues("userinterest");
		
		
		boolean flag;
		flag=true;//假定提交能够成功
		if(flag){
			session.setAttribute("userno", userno);
			response.sendRedirect("main.jsp");
		}
		
	%>
	<%=userinterest[0] %>


</html>